home *** CD-ROM | disk | FTP | other *** search
- Subject: Reduncdancy in Externalize()
- Sent: 7/22/96 12:11 AM
- Received: 7/22/96 10:48 AM
- From: Arni McKinley, motion@nbn.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- During externalization I have noticed that FW_CODPart makes the following
- calls in Externalize():
- part->AddProperties(ev, partStorageUnit);
-
- // ----- Clean the content property -----
- part->PrivCleanseContentProperty(ev, partStorageUnit);
-
- // ----- Externalize part specific data -----
- part->ExternalizeContent(ev, partStorageUnit, NULL);
-
- The first call adds the property kODPropContents to the storage unit with
- value "GetPartKind(ev)".
-
- The second then removes all values for that property, including the one
- just added.
-
- The third call calls ClearPartStorage() before asking the part content to
- Externalize(). ClearPartStorage() focuses on the value "GetPartKind()" of
- kODPartContents, removes it and then adds it again.
-
- This all seems a bit redundant. Just thought I'd bring it to your attention.
-
- Arni
-
- _______________________________________
- Arnold F. McKinley
- President
- MetaMind Software, Inc.
- 342 Lowell Ave.
- Mill Valley, CA 94941
- 415-381-8063
- FAX: 415-389-8969
- motion@nbn.com
- _______________________________________
-
-
-